//
//  ZNMapPointAnnotation.m
//  BaiduCluster
//
//  Created by LiZNing on 14-4-2.
//  Copyright (c) 2014年 lzning. All rights reserved.
//

#import "ZNMapPointAnnotation.h"

@implementation ZNMapPointAnnotation
@synthesize mapPoint = _mapPoint;
@synthesize annotation = _annotation;

- (id)initWithAnnotation:(id<BMKAnnotation>)annotation
{
    self = [super init];
    
    if (self)
    {
        _mapPoint = BMKMapPointForCoordinate(annotation.coordinate);
        _annotation = [annotation retain];
    }
    
    return self;
    
}

- (void)dealloc
{
    [_annotation release];
    _annotation = nil;
    
    [super dealloc];
}

@end
